package com.yuncheng.oaApi.mapper;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuncheng.vo.CurrentUserVo;
import com.yuncheng.oaApi.vo.OaXzswspVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface OaXzswspFlowMapper {
    Page<OaXzswspVo> flowJobPage(Page<OaXzswspVo> page,
                                 @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                 @Param("user") CurrentUserVo user,
                                 @Param("spcyFlowVo") OaXzswspVo oaXzswspVo);

    Page<OaXzswspVo> flowJkPage(Page<OaXzswspVo> page,
                                @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                @Param("user") CurrentUserVo user,
                                @Param("spcyFlowVo") OaXzswspVo oaXzswspVo);

    List<OaXzswspVo> flowJkList(
            @Param("onlyCurrentUser") boolean onlyCurrentUser,
            @Param("user") CurrentUserVo user,
            @Param("spcyFlowVo") OaXzswspVo oaXzswspVo);

    Page<OaXzswspVo> selectmyyb(Page<OaXzswspVo> page,
                                @Param("spcyFlowVo") OaXzswspVo oaXzswspVo, String fdbrid);


    Page<OaXzswspVo> myYbFlowPage(Page<OaXzswspVo> page,
                                  @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                  @Param("user") CurrentUserVo user,
                                  @Param("spcyFlowVo") OaXzswspVo oaXzswspVo);
}
